const { ccclass, property } = cc._decorator;

@ccclass
export default class FundRewardBoxItem extends cc.Component {
    @property(cc.Node)
    FundRewardBoxItem = null;

    @property(cc.Node)
    box = null;

    @property(cc.Node)
    spineNode = null;

    @property(cc.Node)
    fundRewardNode = null;

    @property(cc.Node)
    light = null;

    @property(cc.Node)
    rewrdNode = null;

    @property(cc.Node)
    fundCashLabel = null;

    @property(cc.Node)
    RICHTEXT_CHILD = null;

    onLoad() {
        this.FundRewardBoxItem = this.node;
        this.box = this.FundRewardBoxItem.getChildByName("box");
        this.spineNode = this.box.getChildByName("spineNode");
        this.fundRewardNode = this.FundRewardBoxItem.getChildByName("fundRewardNode");
        this.light = this.fundRewardNode.getChildByName("light");
        this.rewrdNode = this.fundRewardNode.getChildByName("rewrdNode");
        this.fundCashLabel = this.rewrdNode.getChildByName("fundCashLabel");
        this.RICHTEXT_CHILD = this.fundCashLabel.getChildByName("RICHTEXT_CHILD");
    }
}
